package com.group.common.users;

import java.io.Serializable;

/**
 * 抽象用户类
 *
 * @author 刘海翔
 * @version 1.0
 * @see NEPGUser
 * @see NEPMUser
 * @see NEPSUser
 */
public abstract class User implements Serializable {
    protected String username;
    protected String password;

    /**
     * 构造函数
     *
     * @param username 用户名
     * @param password 密码
     */
    public User(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
